package net.csdn.business.common.domain.request.notify;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 更新通知中心-用户公告对象DTO notify_announce_user
 * 
 * @author zhangyl
 * @date 2023-11-27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpdateNotifyAnnounceUserDTO implements Serializable
{

    private static final long serialVersionUID = 1L;

    private String id;
    /** 公告id */
    private String announceId;
    /** 接收人id */
    private String recipientId;
    /** 是否已读：1：已读；0：未读 */
    private Integer readState;
    /** 用户读取公告时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date readDate;
    /** 公告创建人 */
    private String createdBy;
}
